package com.czl.controller;

import javax.annotation.Resource;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import com.czl.service.UserService;

@RestController
public class UserController {
	
	@Resource
	private UserService userService;
	
	@GetMapping("all")
	public Object findAllUser() {
		Object o=userService.findAllUser();
		return o;
	}
}
